FROM java:8
ENV ARTIFACTID shop-eureka
ENV ARTIFACTIDVERSION 1.0-SNAPSHOT
ENV HOME_PATH /home
WORKDIR $HOME_PATH
ADD /$ARTIFACTID-$ARTIFACTIDVERSION.jar $HOME_PATH/$ARTIFACTID.jar
ENTRYPOINT ["java","-jar","shop-eureka.jar"]